<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            list-style: none;
            text-decoration: none;
        }
        .music{
            width: 900px;
            height: 60px;
            background: #fff741;
            margin: 0 auto;

        }
        .music li{
            position: relative;
            width: 100px;
            height: 60px;
            float: left;

        }
        .music a{
            width: 100px;
            height: 60px;
            position: absolute;
            font-size: 20px;
            color: #394057;
            text-align: center;
            line-height: 60px;
        }
       .music span{
            width: 100px;
            height: 60px;
            background: darkblue ;
            position: absolute;
            opacity: 0.6;

        }
    </style>
</head>
<body>
<div class="music">
    <ul>
        <li><a href="">导航1</a><span></span></li>
        <li><a href="">导航2</a><span></span></li>
        <li><a href="">导航3</a><span></span></li>
        <li><a href="">导航4</a><span></span></li>
        <li><a href="">导航5</a><span></span></li>
        <li><a href="">导航6</a><span></span></li>
        <li><a href="">导航7</a><span></span></li>
        <li><a href="">导航8</a><span></span></li>
        <li><a href="">导航9</a><span></span></li>
    </ul>
</div>
<script>
    $(function () {
        $(".music li").mouseenter(function () {
           $(this).children("span").stop().animate({top:-60});
        }).mouseleave(function () {
            $(this).children("span").stop().animate({top:0});
        });
    })
</script>
</body>
</html>